#include "owl_math.h"
#include "network.h"
#include "connected_layer.h"
#include "cost_layer.h"
#include "logging.h"
#include "activations.h"

int main() {
	// Float A[6] = {1, 2, 3, 4, 5, 6};
	// Float B[6] = {1, 2, 3, 4, 5, 6};
	// Float C[9] = {0, 0, 0, 0, 0, 0, 0, 0, 0};
	// OwlGemm(1, 1, 3, 3, 2, 1.0, A, 3, B, 2, 0.0, C, 3);
	// for (int i = 0; i < 9; i++) {
	// 	printf("%lf \n", C[i]);
	// }
	LOGFUNC("main");
	Network net = MakeNetwork(2);
	Activation act = LOGISTIC;
	net.layers[0] = MakeConnectedLayer(1, 2, 3, act, 0);
	net.layers[1] = MakeCostLayer(1, 3, 0, 1);
	Float A[] = {1, 2};
	OWLLOG("test", A, 2);
	Float B[] = {3, 4, 5};
	TrainNetworkDatum(net, A, B);
}
